import {view} from "adajs";
import IndexService from "./state.js";
import Footer from "../../../controls/footer";
import Navigator from "../../../controls/navigator";
import Tab from "../../../controls/tab";
import Slide from "../../../controls/slide";
import Page from "./../../tabpage";

@view({
	className: "index",
	template: "./template.html",
	style: "./style.scss",
	dataset: {
		service: IndexService
	}
})
class Index extends Page {
	tags() {
		return {
			footer: Footer,
			tab: Tab,
			slidex: Slide,
			navigator: Navigator
		};
	}
}

export default Index;